package com.cyw.note.service;

import com.cyw.common.core.domain.R;
import com.cyw.note.entity.Note;
import org.springframework.data.domain.Page;

/**
 * @Author: Chenyw
 * @Date: 2022/08/22/17:22
 */
public interface NoteService {
    R<Note> saveOrUpdateNote(Note note);

    R<Page<Note>> findAllByPage(int currentPage, int pageSize);

    R removeNote(String id);
}
